package com.caimiao.miao.page.home.page;

import android.content.Context;

import com.caimiao.miao.interfaces.BasePresenterImpl;

public class PagePresenter extends BasePresenterImpl<IPageContact.View, IPageContact.Model> implements IPageContact.Presenter {
    public PagePresenter(IPageContact.View mView) {
        super(mView);
    }

    @Override
    protected IPageContact.Model getModel() {
        return new PageModel();
    }

    @Override
    public void start(Context context) {
    }

    @Override
    public void setAdvert(String uri) {
        mModel.setAdvert(uri);
    }

    @Override
    public void setLogic() {
        mView.setAdvert(mModel.getAdvert());

    }
}
